<!DOCTYPE html>
<html
        xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout" xmlns:th="http://www.thymeleaf.org"
        layout:decorate="~{base/layout}">
<div layout:fragment="content">
    <!--header wrapper end-->
    <!--med_tittle_section-->
    <div class="med_tittle_section">
        <div class="med_img_overlay"></div>
        <div class="container">
            <div class="row">
                <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
                    <div class="med_tittle_cont_wrapper">
                        <div class="med_tittle_cont">
                            <ol class="breadcrumb">
                                <li><a th:href="@{/}">智慧党建</a></li>
                                <li><a th:href="@{/}" th:text="${contentType}"></a></li>
                                <li><a th:href="@{/}"></a>详情</li>
                            </ol>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <div class="page-container">
        <div class="container">
            <div class="row med_toppadder50 med_bottompadder50">
                <div class="col-lg-9 col-md-9 col-sm-8 col-xs-12">
                    <div class="news-detail-box">
                        <h3 th:text="${partyActivities.title}" style="font-size: 25px"></h3>
                        <div class="author-info">
                            <span th:text="${#calendars.format(partyActivities.updateTime,'yyyy-MM-dd')}"></span>
                            <span>发布机构：<span th:text="惠来县仙庵镇人民政府"></span></span>
                            <span>浏览次数：13</span>
                        </div>
                        <div class="news-detail-content">
                            <p id="editorContent" style="font-size: 18px;line-height: 30px;" th:text="${partyActivities.describe}">
                            </p>
                            <!--                            <div  class="img-div" style="text-align: center"></div>-->
                            <p><br/></p>
                            <p><a style="text-decoration: underline" target="_blank" class="nfw-cms-attachment" th:href="@{/party/downloadFile(filename=${partyActivities.file})}" th:text="${partyActivities.file}" th:alt="${partyActivities.file}"></a></p>
                            <p><br/></p>
                        </div>
                    </div>
                </div>

                <div class="col-lg-3 col-md-3 col-sm-4 col-xs-12">
                    <div class="sider-card">
                        <div class="sider-card-header">
                            <h3>办事指南</h3>
                        </div>
                        <ul class="sider-list-model-a">
                            <li th:each="activities:${topActivities1}">
                                <a th:href="@{/village/activitiesDetailsUI(id=${activities.id})}" th:text="${activities.title}"></a>

                            </li>
                        </ul>
                    </div>
                    <div class="sider-card">
                        <div class="sider-card-header">
                            <h3>政策法规</h3>
                        </div>
                        <ul class="sider-list-model-a">
                            <li th:each="activities:${topActivities2}">
                                <a th:href="@{/village/activitiesDetailsUI(id=${activities.id})}" th:text="${activities.title}"></a>
                            </li>
                        </ul>
                    </div>
                </div>


            </div>
        </div>
    </div>
    <script th:src="@{/js/jquery_min.js}"></script>
    <script th:src="@{/js/bootstrap.min.js}"></script>
    <script th:src="@{/js/wow.min.js}"></script>
    <script th:src="@{/js/custom.js}"></script>
    <script th:src="@{/plugins/slider-pro/js/jquery.sliderPro.min.js}"></script>
    <script th:src="@{/plugins/owlcarousel/js/owl.carousel.min.js}"></script>
    <script th:src="@{/layer/layer.js}"></script>
    <script type="text/javascript">
        window.onload = function (){
            $("#editorContent").html($("#editorContent").text());
            console.log($("#editorContent").text());
        }
    </script>
</div>
</html>
